PD layout now only ruby, javascript only refreshes PD-page