Responsive layout and demo app using Javascript to generate CSS