Bugfixes + support compression with UglifyJS