Adding Javascript for the Gallery!