andros705 / Devrant.com decimal scores to binary converter

// ==UserScript==
// @name         Devrant.com decimal scores to binary converter
// @namespace    https://openuserjs.org/users/andros705
// @version      1
// @description  Convert devrant score decimal notation to binary
// @author       andros705
// @match        https://devrant.com/*
// @grant        none
// @copyright    2018, andros705 (https://openuserjs.org/users/andros705)
// @license      MIT
// ==/UserScript==

(function () {
  'use strict';

  $('.user-score').each((index, element) => {
    if (element.children[0].tagName === 'SPAN') {
      element.children[0].innerHTML = parseInt(element.children[0].innerHTML).toString(2);
    }
  });
})();