common library for web