use "scribe-common"'s `element`

Now we can remove the `src/api/element.js` file since
"scribe-common" offers the exact same helper functions.