keyLayouts now part of main.js instead of separate file