JAVASCRIPT ERROR HIT CMD AND R KEY