updated code to work with grunt/bower instead of relying on development cdns