set shiftwidth=2 for js files