make locating js file robust, we cant assume frescobaldi_app is in the current directory