splitting out js/css, adding local copies of libs, including d3, and adding some time manipulation functions