Fixed picker creation error on IE as noted by @marcokam. Solves #3