Removed old javascript gallery library
added in insert scripts
extra fields added to tables