install libmozjs-dev package only for debian 6, else it installs

libmozjs185-dev
put back commented part