use path to js file