Panorama viewer coded in HTML5 and Javascript