removed js lib dependencies into bower

Removed the 3rd party libraries and added bower files to install them at build time.