Added notifications.js

Creates overlay notifications from events and key strokes. improved
fading.
There should be a space after `if` and between `)` and `{`