Corrected .js file