added breakpoint js
Full JS clean and refactor.