fix npm install
add config form www_redirect; fix some tiny things