Remove unnecessary break
Make JS more semantic