add JS, working on plugin