Remove LAB.js again

LAB.js masks run-time errors happening inside of the callback function
passed to wait.

Furthermore, LAB.js is no longer under active development and will not
receive functional updates.
Factor out utils to a separate file