made minor change to js load script