Add support for IE8

Share.js currently blocks JS running on IE8 as IE8 doesn't natively support Object.keys or Array.prototype.map. Added in a brief polyfill for Object.keys if it doesn't exist and used jQuery's $.map instead of the vanilla equivalent.