Method names changed to convention. Docstrings added. Javascript moved to minified javascript file.