Update sqleditor.js

Included document.body.appendChild in an onLoad method due to IE issues.