fix  in rapanel js
updates from sanmiks project