Javascript If Array Contains Object With 7