make qs usable for browser loader

lib is a folder, it is impossible to judge whether lib is folder or file with browser loader