refactor js
add bootsrap components