$("#gameCanvas").attr('width', $(window).width()-225).attr('height', $(window).height()-35);