Accidentally removed isObject from javascript generation.