Add listener for servlet, First running version (only part of base page)