cursor of ace editor is placed to he end after setValue
js spec refactoring 1
js spec refactoring 2
js spec refactoring 3
js spec refactoring 4