update minified file
add beautifier grunt job
clean up some stuff, add new function