update js to remove home object and add in tS code for mobile and desktop