add raven js capability
Merge pull request #580 from dimagi/raven-js

add raven js capability