Javascript else if not working

Printable View