Revert "Update tap.js"

This reverts commit 230387af25a41227db2fe73a4e07f6b64e197cee.