calander make javascript perfect