Update sample_ui.js

updated the twitter client for version 1.1 api with authentication