First lines of javascript code for guess problem