Fix dart templates on old browsers

Make the templates of polymer elements hidden so they do not
display on older browsers. Closes #732