added "dom" and "placeholder" parameters
added "data-options" attribute