Update virtualkeyboard.js

Update for Webkit support