Add uglify-js as an optionalDependency

Before, uglify-js was not installed by `npm install` on a fresh clone. This caused several test cases to fail.