I would recommend getting rid of jQuery though. You're already using querySelector in one spot so you can replace the jQuery stuff with plain DOM calls I think.
This wasn't a huge job,
so I went though and changed it.
Thanks for the script EcuaMobi, it's fantastic.