Added functionality for compressing js.