Revert "js 코드 클래스화"

This reverts commit 4040a706355d8e2904d4f9e74a3f98720a9560a4.