some templates nav js events