backported fixes for uglify etc
Merge branch 'master' of github.com:dreamcodez/yacomponent