[PATCH 2/3] vbscript: Use a helper function to lookup the global functions.