@armandsdz,
You are right, script that load on the gallery will not load on taxonomy page, this an Image Store behavior not a WordPress behavior, this to improve page performance.
You can allow or add this script to your pages using the wp_enqueue_script function. You want to load _js/store.js,
Be sure that you are creating a separate plugin so you don’t lose your changes on the next update.