fixed filepath to js