Refractor menu.js a bit
Use native tab method to get page title