Fix big with navigation Javascript, and change indentation to 2 spaces