Add HTTP Params to requests handled by Javascript