Ah, nothin' like tootin' your own horn 
To place a new file on an exact location, you must do two things. First, place the new image (https://jongware.mit.edu/idcs5&…..html#place). The return object of “place” is an array, and its first item (#0 for Javascript) will be a handle to the image. However, for the next step, you need to move its frame, just like in the interface itself.
Try this (warning: typed on my iPad, so from memory):
img = app.activeDocument.place(new File(“yourfilename”));
imgFrame = img[0].parent;
imgFrame.move([“1in”, 1in];
This will place rhe image and then move it to 1″ off the left top of your page (actually, relative to the ruler origin, whereever that may be — but “top left” is a fairly good bet).
More information: Adobe's site has a Beginner's Guide for Javascript under the heading “Scripting resources”. Then there is my own Introduction to JS for ID: https://creativepro.com/jav…..ginner.php
and on the MIT site I referred to above expanded and improved versions of the built-in Javascript Reference for every InDesign version since CS3 or so. All of that ought to keep you occupied for a while!