CJavascript: fix range() warning bug on 5.3.5 for win