Refactor initfiles
Add tern + tern-auto-complete for js-mode