somone can help me? scripting js

im try some stuff on unity 3d, I tried to make a simple scriupt in JavaScript but unity doesnt recognize some “tags”.
this is what i have now (ok its verry simple)

function Update (){
if (Input.GetKey(“r”))
{
Transform.y += 1.0;
}
{

}

i tried it before with this “tag” :

Input.GetButtonDown

but unity didin`t recognize.

who can help me?

grz. Casper

if (Input.GetKey(KeyCode.R))
{
transform.Translate (0,1,0);
}

thanks it works