Model page JS updates