refined gallery js
touched up link