You might also have a look at a package I put together: - https://github.com/EricForgy/JavaScriptBridge.jl
It's not an official package yet, but I'm already using it for some of my work doing exactly what you described. I initially called it JuliaJS in a "pre-announcement" here <https://groups.google.com/d/msg/julia-users/4tRUjenPd-o/cdc00hcHCgAJ>, but changed the name after reading the recommendations from the Julia documentation <http://docs.julialang.org/en/release-0.4/manual/packages/#guidelines-for-naming-a-package> .
