Fixed all issues

Hi Fred,

I had a play with your repository, and managed to get it working. Accept this pull request to see how I did it.

I also changed the way you use bower. Be sure to run `bower install` to get all the packages.

Yours sincerely,

Greg Lockwood