getData function to elements
Glow function for set
Fixed error when Raphael undefined
Typos un reference