Add lobbypy js logic, change template name