Is it possible to dynamically add keywords to javascript?

Is it possible to dynamically add keywords to the javascript rules one the fly and have them highlight along with the javascript highlights?

No, this is currently not suported. But you could write a wrapping mode or add an overlay.