update as sample code
fix a warning message

<script src="packages/browser/interop.js"> is no longer needed for dart:js. See http://pub.dartlang.org/packages/browser. interop.js:7