commenting out resize solution removing main js