Add main property to package.json
Add repository property to avoid npm warning
Merge pull request #159 from hugomrdias/npm

Add main property to package.json
Update default options to speed up bar on fast pages
Don't assume window is the global scope.  Closes #119.
Merge branch 'master' into updates