JavaScript: Keywords array to Regular Expression