bug 450641 - Add missing JS_free call.