#JC-1145:
* Fixed bug with js