updates to js and page layout