Include calendar.js and main.css in index.html . Added run(); in script tags in index.html