javascript doesnt usually work like a real language, so add a couple safeties on the linenos