loginCheck.js change

Setting the Ajax call to be synchronous so the page doesn't load before
the check is made.
Merge remote-tracking branch 'origin/master' into tnichols
Merge remote-tracking branch 'origin/master' into tnichols
assert

Added assert function to the top of taj.js
Updated assert

Updated it to throw an exception so the program stops executing.