add window images
fix depend

independent from Widget.enchant.js and simmplify.
some fix.