adding js for tag selection/creation