Code cleanup

* Removing some comments
* Rewriting variable declarations with var on each one
* JsLinting
Removing service files to another repo