android version of game shows error

here is my code, which is runs in PC version.
now I’m making its android part.but following codes show some error. what may b the reason?

var hit:ControllerColliderHit;
function OnControllerColliderHit(hit)
{
if(hit.collider.gameObject.tag=="level1")
				{
//do something;
}

}

It shows this error:

Assets/tornado/scripts/point_monitor.js(27,24): BCE0019: 'collider' is not a member of 'Object'.

When working with Android and Unity-javascript, you need to include “#pragma strict” at the top of your scripts. Any errors that detects/causes will also show up as errors on the Android device. Pragma strict disables Javascript’s lazy-typing, which isn’t supported on Android.