Added canvasInput, cocoonjs lib and fixed xmlParser