move primary logic into vimline.js and add tabs.js