Fixed editor to work on Mozilla