add javascript variable feature
add get as object feature mainly for datetime