slight refactor to make it easier to enable jcrop on various places, add support for profile edit, and contact edit.