Code clean up
1. Remove the redundant p tag around message logs
2. Reformat the js code, use 4 spaces to replace tab