everything but dice
Finished javascript