Ironed out data format and loading via jquery