fixing nasty IE bug when assiging value to dataset attribute - use jQuery instead of vanilla js