add js validation to members and profile