Javascript location modified