using scss.erb to solve download keys title shift. factored out flash js. Factored out public and private table headers and fixed tests