Unbreaks packages depending on uglify-js running node 0.11.8

For the record I am *not sure* if the tests should be ok like they are or not. I didn't see any errors and I've looked around for reference on how to contribute but couldn't find anything of value.

I'm adding `var fooName` in every function definition (some might not be needed) because well, I was trying to use `.parse` but it wasn't available and it took me here. I started here #346

I'm good to refactor this in any way that you guys consider it appropriate.

Thanks for making such a good tool!