added support for jquery functions with multiple config hashes