proper declaration of varibles, use strict for sphere_graph.js