Add menu and fix bugs with script tags.