Convert JS to Query String

Convert Javascript Object or Array to Query String