Fixed chart display by creating new scriptbundle and moving script to appropriate section