Create a syntax file (must end with .sublime-syntax) with something like this:
%YAML1.2
---
name: My Custom Javascript
file_extensions:
- js
scope: source.js
contexts:
main:
- match: |
(?xi)
\b
(?> coroutine
| otherFunction
| anotherOne
)\b
scope: support.function.js
# Normal javascript...
- include: JavaScript.sublime-syntax
The xi means:
x : Ignore spaces
i : Case insenstive
I normally use rubular to test the regexes, there you can learn more about how it works.
PS: I got the name for the javascript file from the github repository and I really recommend that you read the official documentation to really understand how the syntax files works.