corrected errors on simple.html - added blank image in pano and moved varout of function init