adding error handling
creating a fallback state if sphere.js fails
switched to correct wording
needed to wrap the div element in jquery
needed an end quote