JSON is great because it stored the file on the server, and if necessary, you can edit it, and later, to attach the parameter editor and generate JSON.
Need to get JSON from the server via ajax, and eventually, you will have an object with parameters and prices.
If the parameters a little better instead of attributes, right in the JS file, define a constant object parameters. So when you need more fields, it will be easy to separate the parameters in a separate json file, almost without changing the code.