remove reset function from engine,js