A javascript web date and querystring helper