fix loadfile() & web player building.