F9 lonely object method functions

If a function object method type is selected without the parent object is not a valid JavaScript code and Esprima parser launch failure. Needed for Sublime Text Plugin selection feature.