fix example simple dimple chart in javascript