A face detection application using javascript