use ternaire to compress code
rename method from Result to Result
rename two methods. 1 from GenerateCustomParams to CreateCustParams. 2 from FindCustomParams to CustParams
minify js