If you look at the page in your browser's dev tools, I see:
Uncaught ReferenceError: $ is not defined index.php:282
Uncaught TypeError: Cannot call method 'replace' of undefined jquery.flot.min.js:28
The first error means that you are trying to use the jQuery syntax before including the library.
I'd try fixing both those errors and seeing if that helps.
If not, could you make a bare bones example that demonstrates your problem.
Your current page contains over 1,200 lines of code.
Try to reduce that to about 50 - 100.