Rename a bunch of javascript files and matching code changes.
Try to clean up some syntax.