* Moved promoted post data attribute to the bottom of the page

* changed promoted post insertion so that it only inserts (and therefore counts as an ad view) when the bottom of the window is within 500px of where the promoted post will be. This is to avoid the page jumping around during insert. This is not yet committed.