add jamjs support
Merge pull request #260 from primedia/master

Add support for JamJS