wow where to start, more refactorings around the panorama memory leak
adding build js library