moved the navbar dropdown js in a partial