TroopJS Update

Closes #422