[node plugin] Ignore files that have a non-.js extension

Issue #219
Make sure 'prototype' appears in function object property completions

Closes #222