In The Book of Lost Tales the names Orcs and goblin are given to creatures who enslave and war with the Elves.
In The Hobbit, the inhabitants of the Misty Mountains who capture the Dwarves of Thorin's Company for trespassing, and later fight the Men, Elves and Dwarves at the Battle of the Five Armies, are identified as goblins, which is largely consistent with the use in The Book of Lost Tales.