Cleaned up scripts
Docstrings
JShint