Corrected a bug with AJS scoping of primitive values