Fix a bug in Title.js