added custom clientScript class declaration to config example on this branch