echo date('r', 1493316022);
// Thu, 27 Apr 2017 18:00:22 +0000
date = new Date(1493316022 * 1000);
console.log(date.toString());
//Thu Apr 27 2017 21:00:22 GMT+0300 (MSK)
In jQuery's case, $ is just an alias for jQuery
Object.keys(obj).map(function (key) { return obj[key]; });