(#33) Improve jquery dom creation.