BUG: add-in javascript