Revert "add tres.js"

This reverts commit db4e6dec0739b38ce649232f8ac74ec630ce7757.