Fix tasks deps

Too many tasks write in parallel in index.html
Randomly create a empty file