Added more explicit javascript api usage in julia-set demos.