Check if jsonpatch.js is already loaded before loading from tests