TroopJS extensions to jQuery