According to page 17, underscores are allowed. So that would be an option along with allowing them in the PHP guidelines too.
General developer forum
JavaScript coding guidelines
This discussion has been locked so you can no longer reply to it.