Improve js code.
Add favicon.