Remove newlines from keys/values when generating the form for a post redirect.
Coffee -> JS build.