Javascript error from logic problem

Printable View