Revert "attempt to use requirejs"

This reverts commit 39fab8e0530b64f1e6f1c5e0b08f963131fdc752.