Removed global state from globejs javascript code--should be able to have more than one figure in a web document now