Move JavaScript to another file.