Move extensions.erb to public/extensions.html and remove dependency on ERB and partials