pull out onChange handler for #input_apiKey so it can be called manually