the js processor, transfer normal js file to cube module