changed the regex to accept non alphanumeric chars in keywords;removed console.log from javascript