Highly simplified notifier.js. No more switch statement.

Notifier returns an interface object. Using $timeout to know
notification's final height. Defined x and y values for each location.