fixed cachebusting issue on server where path was not properly determined