Set expandtab for JavaScript files
Add keymapping for toggle paste mode
Remove unused function