#JC-1581 change js mode