break sections into separate php pages, move inline js to separate file