Revert "use require.js to load js files"

This reverts commit 14cb3945b6a831327a2a5e744b0ab3b520322529.