Perl/CGI webapp serving modified AJAX MagicTable