Making a single pager... Can't get this damn JS to work