fixed jQuery conditional to check for url AND hotkey for top and sub items