Very light Javascript implementation of augment pattern.