What is your phone model.
In genaral the settings are as follow:
Open the Web > Options > settings > General > Java/ECMA script > Enabled.
Thank you for posting and welcome to Nokia Support Discussions!
Can you check the settings of your phone, go to Menu > Internet/Web > Options > Settings > General > Java/ECMA script make sure to enable it. Also, check if the time zone, date and time of the phone are correctly set.