update to work on modern uglify