Load JSDeferred correctly