bugfix on get request

in the js, the data stored in cookie is more prioritized than those
requested by GET; it should be otherwise