Fixing compatibility issue on Safari

Enyo-DCO-1.1-Signed-off-by: Jeremy Thomas <jeremy.thomas@lge.com>
Merge pull request #434 from enyojs/SafariFix-JeremyThomas

Fixing compatibility issue on Safari