adding plugin options for type and position of alert