Changes for compacting js