Set up js page