Changed js class closure arguments to use shortened names.