added deploy min with uglifyjs
sytax and bug fixes