From http://stackoverflow.com/questions/10671822/jquery-handling-key-combinations