1. add log function for common.js; 2. add postcard.js