Fix for issue #26. Solved Safari bug

Removed implicit conversion of `string` to `object` when trying to store the defaultVal of the element. Moved this to a new object with the same key of `elemID` to store the value instead.