added html select list for number of dice
fixed script to allow for a variable number of D6 dice