Node.js version: implement reporting of locations of problematic elements

Fixes #29. (or rather, finishes fixing it)

CC: @hnrch02 @XhmikosR @zacechola for review and/or testing
Am I missing where this is defined?