css fix
generate nav into js