rework on new wgetjs
0.5.1