moved regexes to nlplib, reposition.js now loops through nouns if sourcenouns smaller than required