Create getNotices.js

This file will place number of reply notifications greater than 0 in the document title.