Likes: only enqueue Likes scripts when necessary

Move all scripts into separate function
Check if the Likes are displayed on the page before to enqueue
Likes: uncommenting filter, oops
Merge pull request #958 from jeherve/fix/enqueue-likes

Likes: only enqueue Likes scripts when necessary