fix spacing in Gruntfile

also added some function body to generate_docs function, WIP
Documentation fixes
add preserve tag for Google closure compile