Your HTML isn't quite right...
SCRIPT SRC=stringLibraryTMA.js> /SCRIPT>
SCRIPT> var result;
It should be:
<SCRIPT SRC=stringLibraryTMA.js> </SCRIPT>
<SCRIPT> var result;
Also the like declaring the js file would probably be better as:
One question, why do you need to import these into another JS file? why not just cut and paste then into your other file keeping all your JS in one file?
Or is this a requirement for your Open University M150 ECA? If that is the case then I think you should be asking your tutor.
Bye for now.