seperate javascript codes
add page list