JavaScript timeline for test