Fix some more oddities in the js programme listings handling