added jquery ui datepicker
moved findBootstrapEnvironment into utils
closes #1385