params.js: Reindent file
params.js: Some jQuery weirdness
params.js: Added a bunch of semicolons

They don't matter, but just for consistency.
params.js: Avoid trailing commas in object literals
params.js: Some jQuery weirdness, attempt two

I broke the code in d28336a667973bd3a207ce8f72bd369e8e8d69f3.
This fixes it back.
Merge pull request #1 from MatmaRex/master

params.js: Minor patches