removing $.timeout which is causing problems in firefox