Revert "js in new file"

This reverts commit c10bb08b93cad0b05df315f92bb796242129e5f8.