Check for mozilla-js.pc before xulrunner-js.pc
Check for mozilla-js.pc before xulrunner-js.pc

On Ubuntu, xulrunner-js.pc is from the libmozjs package, which
has an older version of spidermonkey, while mozilla-js.pc comes
from xulrunner-1.9, and has a more up-to-date version. So 
check for mozilla-js.pc first.

svn path=/trunk/; revision=71

pixunil/cjs,pixunil/cjs,mtwebster/cjs,pixunil/cjs,pixunil/cjs,magcius/gjs,djdeath/gjs,djdeath/gjs,mtwebster/cjs,magcius/gjs,magcius/gjs,mtwebster/cjs,endlessm/gjs,joeshaw/gjs,endlessm/gjs,joeshaw/gjs,endlessm/gjs,endlessm/gjs,pixunil/cjs,joeshaw/gjs,joeshaw/gjs,djdeath/gjs,magcius/gjs,endlessm/gjs,mtwebster/cjs,djdeath/gjs,joeshaw/gjs,djdeath/gjs,mtwebster/cjs,magcius/gjs