HTML JavaScript solutions to codechef problems