Find .pm even if the script is symlinked elsewhere, or the script is called from elsewhere
Append a newline after the JS output