cosmetics rect(), added comments and codestyle
Merge branch 'master' of https://github.com/basiljs/basil.js