Removes layout js