Code practice for JS events and timers

Examples of events in JS, including standard and legacy examples, and
timers with animation.
WebStorm implemented: .idea config files

Started using WebStorm