removed js setup and do in calendar field and add support for format