Fix for a polymer mobile chrome app throwing 'TypeError: Attempted to assign to readonly property.' in iOS