Likes: Moved the call to enqueue_scripts into the action body

Previously the enqueue_scripts method had been called in a separate action where `in_the_loop` could return false and break script enqueueing. Now the scripts are enqueued when the rest of the like widget markup is generated.

There's no harm in enqueueing a script multiple times, it will still only print out once.