Restore js code hints max line count

This is for #8551 

Removing check for max line count check was not done correctly. It's late in cycle, so just restoring it. Also bumped up the size.

@dangoor