n00bler mistake in js