support .dart on client-side