Revert "Created legacy.js"

This reverts commit 77a6225959ec46fb4d52096af8aa5f950596c0e8.