Update web frontend javascript to new states
Small fix in integration test
Remove fake tail from iterations