* run js tests
* added docs
* refactored, started tests
* update js file reference
* added more tests
* updated js compiled file