Update shushjax.js

Write event listeners batched + async