Revert "Update tap.js"

This reverts commit 46218f2a3fa12ff89e8d1ac7d27b0a7b67a1d747.