Safari 7 and 8 iDB issue fix using websql