[javascript] How to escape regular expression special characters using javascript?