Rhomobile javascript app