medsrv: Replace the JavaScript focus() calls with HTML5's autofocus