check that source[prop] is defined before checking constructor prop

* This was throwing an error, in some of the player studio test api
calls.
* Also fixed some wp