Yes it is based on the final dist layout path and thus the ../js is necessary.