return more often. Exit function in this IF statement which will avoid extra TABs and your } else { ... } clause. Try to apply the same concept in all other files as well