JS libraries cleanup

- remove obsolete libraries
- update some libraries
- use bower versions of some libraries

Change-Id: If434f18d3133966bf56a89008e392e1cca13aa14
Merge "JS libraries cleanup"