moved repetitive jQuery lookups to vars