Javascript Generate Query String Fromcharcode