commented redirect on add caption and added js file