added some javascript files as i try to get a gallery page working. dont
merge into this branch until the gallery page works.