Added functionality to get current breakpoint in js

@kaelig