Fixing javascript location.