Adds jquery function to display positions on click of deparment