update to full path rul for JS file