Update array_unique.js

Fix Issue #77

(!) But only if json_encode is loaded (to 'hash' the object)