Amended to invoke urlFactory using .call()

The call to urlFactory now uses the .call() function, passing the model just created as the value of 'this'.

Allows the usage of 'this' within the urlFactory function to refer to the model.