Messing around with creating post notifications in Ghost (and learning Javascript)