Visualization API loads after timeout and doesn't wipe html