Class adder function, build out date filter to support element attribute options