Reformatted long string and removed extraneous redirect from javascript