Bounded searching for accuracy

Enhanced reliable searching by bounding the resource with a path separator and appending an extension of ".js" if one cannot be found. This avoids situations where "webjars!text" may resolve to "textile.js".