use mimetype instead of tag for dom construction
prep for recursive cache traversal
Added doc and jsdoc grunt workflow