Added common.js
Updated docs