Updated default constructor function to have el and options arguments.