refactor: transform var to let/const (#137)