small fix js on UITabSelector