Implementation of jquery getScript method in Ajax plugin