move jsblock outside of compress block