Fix some tutorials.  Added tutorial 4 code
Merge pull request #4 from jbrick/master

fixed a spelling mistake
Added npm badge to readme
Added setFrameMax to docs
Merge remote-tracking branch 'upstream/master'