Update jquery.simple-dtpicker.js

Replaced line consuming many if statements with switch statements for cleaner and possibly faster code