remove editing javascript example