Get rid of extra directory level in JS hierarchy