fix js and ruby having getting confused about true and 'true'