Continue In Javascript While Break In Java