Bug 878291: define RELEASE_BUILD/NIGHTLY_BUILD in the js configure too, r=ted

--HG--
extra : transplant_source : %20%C3%0EB%1F%F0%ED%84%91%EF3%06vJ%AA%BB3y%A8%D1