First compact algorithm release.

Moving to do a jquery validator