fix TIMES_JS error