adding moduar version of calendar.js

A lot slower, but a bit easier to extend