Variable-Function-Global JavaScript helper.