removed js causing error (handled gallery options)