The big difference is the javascript can only Create a new file, it can't Edit an existing one. mirc.ini is safe.