Interactive Javascript programming problems