dynamic get script like $.getScript