Phone Gap implementation of ophthalmology materials