Reinstate appropriate changes by @Ivanca on 2014/01/03; however, add "date_parse_state" property detection (on the php_js "global") in strtotime so date_parse can utilize this to get strtotime to return a decimal without changing the normal, integer-only behavior of strtotime
change var placement