Bug Fix & Make script update

Hi Dmitry!

I am working on a project based on Raphael and have found it great so far!  Thanks for the good work!

I found two small bugs and while trying to fix them updated the make script so that it is not exclusive to your build setup.  Now all someone has to do to contribute is `git submodule init && git submodule update && npm install` after cloning down the repo.

Let me know if there is anything in particular you would like for contribution guidelines to update in the PR.  Thanks again!