moved receiver code into shared Kaster js file
updated sender document with imported Kaster js