remove tabs for spaces in js