adding initial face detection code for sencha