Like jQuery way