Switch from CDN to Bower for dependency management

Use Bower to manage JavaScript dependencies instead of hotlinking to a
CDN.