1.Rename main.htm to home.htm; 2.Add home.js; 3. Register initHome(element, params) function to onscreenready to initialize the home screen.