fix javascript error if there are no notifications
fix javascript error if there are no notifications

mrjive/hubzilla,mrjive/hubzilla,redmatrix/hubzilla,sasiflo/hubzilla,sasiflo/hubzilla,redmatrix/hubzilla,sasiflo/hubzilla,sasiflo/hubzilla,mrjive/hubzilla,redmatrix/hubzilla,mrjive/hubzilla,sasiflo/hubzilla,mrjive/hubzilla,redmatrix/hubzilla,redmatrix/hubzilla,mrjive/hubzilla,sasiflo/hubzilla,redmatrix/hubzilla