js/restructure.js