added folding in the js editor