Added file for common.js. Included it in chargenfront. More work on
metatype.html.