add non-bower external javascript
fix require