optimized layout using Foundation's medium grid, and optimized JS imports