Change TankJS.addComponent to TankJS.registerComponent