Added core.js

Added core javascript for the site. Uses zepto.js as its base (but you
could use jQuery also). Improvements expected.