Updated location again in js