Minify globals prior to transpiling

This fixes #65 by performing minification on globals prior to
transpiling.