Fix uglifyjs or closure compile errors

This PR makes the library compatible with variable-compressors minifiers!

Thanks for this project :)