delete javascript boolean. now use () null as false, anything else as true