shawl.qiu javascript function library