continued refactoring

- ripping out old js functions. Only doing damage/attack gem functions
for now
- adding two more pop up dialogs to handle requested gems
- adding hidden fields to hold on to each gem request