Only defined ARROW.callback in Selenium Driver test

if isCommonJS flag is not defined, the test script is executed in
Selenium Driver test mode.