Add external API window.back() for JAVA