Cursory javascript formatting of newly remodelled file structure