Update panelpage layout and include javascript