updated .js File