Replace the codes related to wallboard with the way of using javascript instead
added main.js file