* cleanup(misc): replace deprecated String.prototype.substr() .substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated Signed-off-by: Tobias Speicher <rootcommander@gmail.com> * fix(js): fix slice change Co-authored-by: Jason Jean <jasonjean1993@gmail.com>