add spread javascript chart