srcd buttons.js as well as jquery. never go wrong with jQuery