couldn't set charCodeAt method in firefox, so we don't anymore