test mainpage js