add Raven error handlers for Php+Js