better error handling (roster js tabs)