Likes module: refactored JavaScript
Likes module: refactored JavaScript

Reformatted the conditional to match other modules; removed the cache
setting because POST requests will never be cached; added comment to
document purpose of response.data test.

xenocrat/chyrp-lite,xenocrat/chyrp-lite