Javascript Updated