Bower integration for JS

solves #1