index page in javascript for screen size #3