Simplified tags input to only have 1 call in application.js instead of 3.