Setting tab spacing for rb files as 2 spaces, js files as 4 spaces and migrated old syntax of symbol to new ruby syntax