Fixed a bug. Used failure instead of error.
Continuing to implement the results view.
Changed to a static navbar.
Added in the navbar collapse.
Added unit tests.
Moved scripts to the bottom of the page.