Added compression back to js