[code] start to build the js modules