Made a proper rhomobile js app structure