integrate raven in javascript