Corrections for IE10

Javascript’s dataset method is not available in IE10 so the getAttribute fallback must be used. Normally, you would simply use one method or the other but I’m keeping dataset in where it is possible to showcase the functionality and future use-case.

Signed-off-by: Matthew Potter <mdpotter@gmail.com>