Update and rename loadgallery.js to load.js