If a language code contains a script tag, getScript, getDir and isRtl should not need the code to be defined, because it already contains the information they need.
e.g. For mis-arab (uncoded language, Arabic script):
$.uls.data.getScript("mis-arab"); currently returns Zyyy instead of Arab.
$.uls.data.getDir("mis-arab"); currently returns ltr instead of rtl.
$.uls.data.isRtl("mis-arab"); currently returns false instead of true.