Make no-prefixing of library functions work.

This allows functions in a JS library to have the name start with '$'
to indicate that they are not to be prefixed with an '_'.