timeout clearing and commenting out js debug stuff