Change .getScript() call to .ajax() one