implement optimize option #9
add a google closure minifier/optimizer #10