Move code for accesskeys into separate function
Fix possible bugs in case of double initialization
Use decodeURI(), if losslessDecodeURI() is missing