make qs usable for browser loader

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