change lib files and fix index.html paths