fix some js errors to see if that's why clean page is not loading