Return this on each method for chaining
Convert the json to js to be included directly