fix lottery.html's charset bug on phone
change lottery from single file to files in case multi-threads write
change server to apache