fixed prototype in sender js