Moved js files to js/lib and tweaked for stereoscopic