Remove Javascript Array Elements Addition Within 5 And 10