Shimlib - a useful Javascript library