Remove patch.rb and fix javascript tag output.