decreasing js delay to 5000