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

#155