Updated .js file