uptade script to new dojo version 1.9+