windows JS detector wasn't working