Write SQL error using Javascript

As pointed out by Euan, we don't want Google thinking the site has actually been hacked.

http://community.mybb.com/thread-123026-post-1061185.html#pid1061185