updated with better compiler errors
fixed issue with uglify, wasn't getting the minified string correctly.