refactoring the tag logic into a jquery plugin
successufully turned the tag logic into a JQuery plugin (i think)