update version number to 1.0.4 in index.html and wf.js