did you check your IIS setting? there's an idle time out setting (go to application pool - advanced settings - process model) and it overwrites your web.config and javascript