fix logo positioning, small JS cleanup