Update sqleditor.js

Removed unnecessary code.