Improve regex which detects the old jQuery alias (for functions)