Added 'spawnInterval' attribute to the spawner.js.