add example js file and pickadate cleanup