dynamic JS path