I generated a sample Polymer web project. Added following js file.
jslib.js
function testfunction() { aler
Try putting your reference to interop.js above that of the compiled dart file and dart.js:
interop.js
dart.js
I learned this from Dart Issue # 15065 and it resolved a similar error I had with the dart:js library.