remove unused deps from bower
refactor into source and example
update bower mains
Merge branch 'master' into gh-pages