Fixed date substitution in copying JSON data to web dir
fixed syntax error in tseries