Add break chained methods for JS