For Oneiric Ocelot launch, there was an awesome Tour created for showcasing how Ubuntu especially Unity works.
The Ubuntu Online tour actually mimics a whole desktop and to a greater extent behaves a lot like using Unity in real.
My question is where is the source code for this located? I know I can do view source, but scraping information and trying to join them is not a feasible solution. If the whole code is present somewhere, it would be highly beneficial for the JavaScript community
Yep, https://launchpad.net/ubuntu-online-tour. This link leads to the Ubuntu Online tour.
Original answer: Yep, you can get it on Launchpad here.
Edit: It seems I linked to the wrong tour. The one from my original answer seems to be a desktop version that you would run on Ubuntu, whereas the one the OP is seeking is an online emulation of the Ubuntu desktop. As has been pointed out by user27777, the code for the online version can be found here.