treat all attribute names as lower case (fixes issue in old IE browsers); update to version 0.4.0