updating twitter plugin to work with new widget framework