simplify js

move favicon to root and minify part of js code