Loop object keys javascript es6