update rapahelcontext.js to enhance interaction