websql implementation almost successfully finished