restore renderHTML script to normal mode again