switched to prototype based vec class
Merge pull request #5 from Zazcallabah/master

javascript game part vector class updated