increase browser compatibility

doctype for IE9, don't use Javascript 1.7 features