Translate DNA to protein

My first (tiny) Javascript program converts a string of DNA to the corresponding peptide/protein.
To test it, type in a string of just A, C, G, and T. Make sure there is "ATG" in there somewhere (to start from)

For information on what this does, see Wikipedia's Genetic Code page.