Here comes CLIENT SIDE codes