fixes amDateFormat unixdatetime bug

if its number it will sent as string!

using this check: http://stackoverflow.com/questions/18082/validate-numbers-in-javascript-isnumeric