latest cm mode for javascript

Signed-off-by: Chris Granger <ibdknox@gmail.com>