publish: Fixes 'wiredep' injection for JS

generated from commit a35723e5f2a7d63469edc0d8931b4d60fbcb2da0