Refactor most php files, add zebra_datepicker.js