move parseJSON window.data variable outside of the if raphael block to p...

...revent json parse object from being undefined