popup: footer fix
popup: remove eraseContent()
validator: surprisingly an easy port to jquery

everything works well except for server validation which depends to ajax
response parser and server to test
WIP: server validation