Changing javascript setinterval to settimeout as a test.