Update prepare.php

Updated - this way we don't need WP-API/client.js