Lab js to defer loading