generally works, making some upgrades to match good code
converted to proper file structure with requirejs
date selector works