Remove check for initialized JS from performance test

and replace it witn a check for the existance of the add statement button