validateMarkOpts function

Validate the Options Passed to mark.js API