2.x pages: trim trailing spaces and use html5shiv from bower_components.