Allow JS functions to be used in chart settings
Fixed deprecation warnings when trying to load .js.erb partials