split ui.js, use more behaviors, samsung improvement etc