update js timeout value