function gyatt2() { return { host: 'example.com', html: '', injectTo: 'head' } } //We need to return the refrence to the function and NOT the function itself self.entryFunc = gyatt2;