adding js function to finders PT