substr() as opposed to substring()

http://www.bennadel.com/blog/2159-Using-Slice-Substring-And-Substr-In-Javascript.htm
Is smaller better? It's yet to be determined.

(Shortened the number of lines in setup.js, made things more
compact, though the lines themselves are longer)