made into coffee-script; added tests, jasmine, grunt, phantomjs, coffee-...

...script, bower, jquery