Update foundation.section.js

Added check to see if content area exists.  This is to ensure that sections without content areas are handled by the browser. (Linking to pages, instead of content)
Update foundation.section.js

Made a typo in previous commit
Merge pull request #2391 from marketpad/master

Fix proposed for #2390