Removed console.logs.
Refactored incrementKeyEventCount; removed event object from arguments.
Added events dependency.
Moved keyup and keydown events to events module.
Initial commit.
Added helper functions taken from textField.js.
Removed helper functions and added them to events module.
Moved setCaretIndex to util module.
getCaretIndex now in util module; updated function references.
Added getCaretIndex.
Removed redundant vars from incrementKeyEventCount.
Formatting.
Added missing comma after setCaretIndex declaration.