fix .shim method, add compare.html example and fps meter