strip whitespace
remove comments
added prettify option