Adds optional method variable for fooAjax methods
Merge pull request #12 from betweenbrain/develop

Adds optional method variable for fooAjax methods