external javascript button test (n+1)