support for minification, slight cleanup
Merge pull request #513 from protherj/min-changes

support for minification, slight cleanup