fix hover logocolor and check Rails.env to load js synchronesly on dev and async on production