fix minor error in rhcapp.js