Handle dart scripts for rails so they get compiled to js for browsers without dart support.