would be good to add c-style behavior and fold mode here
https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/javascript.js#L41-L42