proof of concept on client-side only with jquery ajax