Pick up a copy of Advanced Custom Fields along with the Gallery Field add-on and you should be able to customize on-page galleries to your heart’s content. Just loop through the gallery and output the code to drive whatever JS based output solution you are pondering.