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