Fixed js ruby params