Don't change tab while switching rooms, fix JSCS warnings