change render loop in render.js, and loop function will always excute