add render percentage, add method to fetch variation according to probab...

...ility provided by admin, add js to use the method for the same