Fix #155, work with uglify-js version 2
Merge pull request #156 from pietervandereems/master

#155
Fix some warnings from new uglify
Update build