added basis for JS calendar