Create an observable variable in Dart that is accessible from HTML