Javascript Hooks for Bitbucket Server