Support options in jquery fn and direct call