added wad.js