fixed glContext
added phonegap lib