Fixed a problem with the counting, as js starts with 0 and cf with 1
Changed the selector for the carousels to be more accurate.
Changed the event from keypress to input