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)