Fix issue when compiling with Google Closure compiler
Merge pull request #148 from supergillis/patch-1

Fix issue when compiling with Google Closure compiler