better handling of js physics
javascript is funny, but andy kaufman is funnier
Merge pull request #15 from pietdaniel/feature/piet

better handling of js side physics