Support dojo 1.8+