Add a wordCharacters option to the JavaScript mode