Clean up unused parameter to JS render functions

@stephensanchez