made discarding static folders configurable and added an option to keep ...

...unminified js