Use XMLHttpRequest to load JS