changed album matrix to tables, insert with js on page load