Fix javascript include when not on the root.