There are multiple ways to phrase this problem
1. processQuery gives 403 forbidden in sharepoint 2013
2. sp.runtime.js Client OM x-requestdigest
The problem is due to the old sp.runtime.js and sp.core.js files.
The old files are in the /_layouts/ directory where as the new files in the /_layouts/15/ directory.