Added js for page transitions