Support js var/func definition inside namespace

Added support for definition of type 'Main.Feature = function {}'
but not 'x + y = 42'
Add blank line after results as per naturaldocs