Chart fixed - moved all js references to top of base.html