Fixed #25: Use DOM to load JS script