Fix for issue #29 - Safari bug with setting readonly properties