Javascript support for parameter relationships