Revert "Update val.js"

This reverts commit 6bfe5d4e36325f2df2b6799915160668b711526d.
Revert "Update attributes.js"

This reverts commit 69eb4e7a892d3dd677200763993aa3e7c37a5790.
Revert "Update val.js"

This reverts commit 9e4f3b089cb92bf1c6b7b1e775e91193007c72af.