fixed globals access errors
added mouse events to graph
changed matrix type to [] from None
added jsonDump function
browser and its button behaviour changed
new data generated
remove any server-side dependance