refactor: convert indentation to spaces - py and js files