fixed javascript errors in mundane theme