fix some syntax errors silently break the bundle
Merge pull request #40 from spacepluk/master

fix some syntax errors silently break the bundle

Fixes #41