display values JS considers "false", fixing issue #2