IMG-581 Another UJS bug