compress functional js