Convert bound methods from exports. to app.fn

Add parens for javascript