dart polymer codelab issues

Here are two commits with fixes for two issues I found while going through the codelab.