Fixes to scripts, prevent errors on pages without search or sticky elements
Adds 404 page
Merge pull request #16 from basekit/master

JavaScript Fixes and 404 page