do not let an empty bug form be submitted

http://manage.dimagi.com/default.asp?146771#816736
Yeah, good point. This should go to some kind of common form-utils-js file, is there such file?