Chart display improvements
Fixed linking issue, and $params availability for JS