Throws an error if we pass uitype as "datepicker". it says "Uncaught TypeError: Property 'datepicker' of object #<Object> is not a function"