Fixed a bug in the javascript that led to a binding error if the active experiment was changed from a custom experiment