[WCP-56] Adding compressJs controll to inline JavaScript