Likes: move inline js to separate file, enqueued in footer

Makes it easier to manipulate that js later on
Fixes #868
Merge pull request #971 from jeherve/update/likes-inline-js

Likes: move inline js to separate file, enqueued in footer