Refactoring refers to any code changes that improve the maintainability of the software system. Identifying such activities helps to understand the evolution and the relationship between two versions of a system. Therefore, automatic detection of refactorings applied in a system by comparing the source code between two snapshots has been an active research topic. Current state-of-the-art refactoring detection tools RefactoringMiner 2.0, however only supports programs written in Java language. On the other hand, JavaScript, despite being the most popular language, is supported by only one refactoring detection tool - RefDiff 2.0 which cannot detect variable level refactorings such as rename variable, rename parameter, etc. In this study, we present JsDiffer, which supports 18 different refactoring operations including several variable-related refactorings in JavaScript projects. Although the tool is inspired by RefactoringMiner, it differs quite a lot from RefactoringMiner in terms of structural mapping. We evaluated JsDiffer by constructing an oracle of 341 refactoring instances mined from 18 open-source JavaScript projects and compared it with RefDiff 2.0. Our results indicate that JsDiffer can achieve precision and recall of 96% and 44% respectively. Although RefDiff 2.0 turned out to be the better of the two tools for JavaScript projects, our approach shows promising results in the detection of Rename Variable refactorings where it achieves a precision of 88%.