refactored dom.remove to dom.rm to fix native method clash