Fix loading moment.min.js from non-root path

Site deployed at directories like /blog/ can't load moment.min.js
properly because twitter.js always expect to load it from /js,
should use config.root/js instead.