update to new basisjs; editor refactoring; highlight editor if file modified