add js minification

[``* `#17080`add js minification``](http://community.openproject.org/work_packages/17080)

- [x] fix Ajax.autocomplete issue (false alarm)
- [x] fix ng-annotate fails
- [x] enable mangling
@0xF013 is this needed?