webshim lib

fixes #3