fixes shots duplication and refactors jquery