Adding JavaScript so I can remove JavaScript file