Javascript Region Folding

See [Discussion] (https://groups.google.com/forum/#!topic/ace-discuss/JkeDqTJAUso)

*Harutyun Amirjanyan: but since vs and webstorm support i am not opposed to including it (either default or as an extension) if required changes are small
create the pull request and i'll have a look.*
there should be a way to handle this without calling trim and substring