I suppose the best place for this script should be somewhere in SDK which could be updatd along with xwalk itself.