Nano-scale friction of polystyrene in air and in vacuum