utilization the js code