Added JS to handle results per page drop down