moved ui.js to vendor