added library.js since wqe now need platform detection~