Update main.js to support Twitter Bootstrap pills over a dropdown select element