move notifications js to it's own file.