Javascript inoremap for switches