small frontend perf improvements
use NODE_ENV to manage different environments
add .env.sample
fix twitter avatars resize