finished first running version of the prototype.
added .jshintrc for validation.
The prototype uses the correct physicjs API now.