Re-arranging scripts. Updates to PeriodicTable.js