Add boolean support to jquery attr() definition