added javascript to handle attribute limits for character creation