Strict d3.event declaration. Fix #4.

Signed-off-by: Kirill Enykeev <enykeev@gmail.com>