Javascript snippet 1: Return the relative path from sourcefile to targetfile