Main js: Minor consolidation of two domready blocks.
  Travis: Updated travis to only warn on non 200 output via curl, and test curl in a pass/fail way after the other tests.