grid implementation and styling
adding common.js into commit