Clean up unused parameter to JS render functions
Add missing semicolons