NOJIRA fix javascript error when no screens are defined