block configuration, editor JS cleanup