Updates broken JS to load content over ajax