Updated js file