Could you add a method to add Javascript. See #971