Initial clean up and add the rot.js library.