Fix ^w behavior in browser