ListApp in JavaScript