Nokia Phones support Javascript?

I do:

window.alert

In Pc, IE an Ns work fine, in Pockect Pc (emulator) and SmartPhone (emulator) works too, but not in Nokia phone?

Why?