adds mockjax snippet