Update js cmakefile according SConscript